x86: clean up AMD Fam10 xenoprof IBS code
authorKeir Fraser <keir@xen.org>
Thu, 4 Nov 2010 16:36:37 +0000 (16:36 +0000)
committerKeir Fraser <keir@xen.org>
Thu, 4 Nov 2010 16:36:37 +0000 (16:36 +0000)
commit0cd09703b178259c90832e4393ac8315ae340f2f
tree9336d6f56f7cd19099e813e2632a106fc46db0bb
parentc8bb5635dea2d4fa46a2e513e5bca1c646fa622d
x86: clean up AMD Fam10 xenoprof IBS code

Arrange for (almost) no code to be generated for x86-32, where the
functionality is disabled anyway. Properly __init-annotate the code.
Remove some pointless bits.

Signed-off-by: Jan Beulich <jbeulich@novell.com>
xen/arch/x86/oprofile/nmi_int.c
xen/arch/x86/oprofile/op_model_athlon.c
xen/include/asm-x86/xenoprof.h